<template>
    <el-upload class="upload-demo" action="" :http-request="upload" :show-file-list="false">
        <el-button round type="primary" size="medium">上传</el-button>
    </el-upload>
</template> 

<script>
export default {
    name: "my-upload",
    data() {
        return {

        }
    },
    methods: {
        upload(param) {
            this.$bus.$emit("busUploadParams", param.file)
        },
    },
}
</script>

<style scoped></style>